import Vue from 'vue'
import Router from 'vue-router'
/* import HelloWorld from '@/components/HelloWorld' */
import Container1 from '@/view/container/Container1'
import Table from '@/view/demo/Table'
import Bar from '@/view/echarts/Bar'
import Login from '@/view/login/Login'
import DateTimePicker from '@/view/demo/DateTimePicker'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Container1',
      component: Container1,
      children: [
        {
          path: 'table',
          name: 'table',
          component: Table
        },
        {
          path: '/echarts/bar',
          name: 'echarts-demo-bar',
          component: Bar
        }
      ]
    },
    {
      path: '/login',
      name: 'login',
      component: Login
    },
    {
      path: '/pdselect',
      name: 'pdselect',
      component: DateTimePicker
    }

  ]
})
